what happens in a real estate deal